
if(!STATUS){
    console.log("当前未登录状态");
}
else{
    login();
}

function login(){
    STATUS=true;
    $.get("./modules/system/system.html",function(data){
        $("#app").html(data);
    });
}

function change(type){
    var ids=["toSignup","toSignin"];
    var forms=["signupForm","signinForm"];
    $(`#${ids[1-type]}`).removeClass('active').addClass('normal');
    $(`#${ids[type]}`).addClass('active').removeClass('normal');
    //表单切换
    $(`#${forms[1-type]}`).addClass('hidden').removeClass('show');
    $(`#${forms[type]}`).addClass('show').removeClass('hidden');

}
